﻿namespace TicketReservationSystem.Common.Entities
{
    public class Customer
    {
        public Customer(string firstname, string lastname, string email)
        {
            FirstName = firstname;
            LastName = lastname;
            Email = email;
        }

        public Customer() {}

        public int ID { get; set; }

        public string FirstName { get; set; }

        public string LastName { get; set; }

        public string FullName
        {
            get { return string.Format("{0} {1}", LastName, FirstName); }
        }

        public string Email { get; set; }
    }
}
